package com.frogs.ucenter.service;


import com.alibaba.fastjson.JSONObject;
import com.frogs.framework.util.PageList;
import com.frogs.ucenter.entity.IndexNewCoupon;
import com.frogs.ucenter.entity.UserCoupon;

public interface CouponService {
	
	
	JSONObject showCoupon(Integer userId, Integer couponId);
	
	/**
	 * 获取用户优惠券列表
	 */
	public PageList<UserCoupon> getCouponsByUserId(Integer pageNo, Integer pageSize,
			Integer userId,Integer applicablePlatformId,Integer status) throws Exception ;
	/**
	 * 获取最新优惠券列表
	 */
	public PageList<IndexNewCoupon> getNewCoupons(Integer pageNo, Integer pageSize,
			Integer applicablePlatformId) throws Exception ;

}
